<style>
    .topic {
        position: fixed;
        right: 0px;
        bottom: 20px;
        width: 300px;
        min-height: 100px;
        background: cornflowerblue;
        transition: 0.2s;
    }

    .topic-btn {
        position: fixed;
        right: 0;
        bottom: 0px;
        color: red;
        cursor: pointer;
        user-select: none;
    }

    .input-container {
        width: 90%;
        margin: 10px auto;
    }

    .input-container input {
        width: 100%;
        background: none;
        outline: none;
        border: none;
        background: aliceblue;
        font-size: 12px;
    }

    .input-container input:focus {
        width: 100%;
        border: none;
    }

    .table-container {
        width: 95%;
        margin: 10px auto;
        max-height: 500px;
        overflow: auto;
    }

    .table-container table {
        width: 100%;
    }

    .subject-item {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        color: white;
        font-size: 12px;
    }

    .subject-item > div:first-child {
        width: 40px;
    }

    .subject-item > div:last-child {
        width: calc(100% - 40px);
    }

    .input-submit {
        width: 50%;
        height: 30px;
        cursor: pointer;
        margin: 5px auto;
        border-radius: 5px;
        text-align: center;
        font-size: 12px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        background: salmon;
    }

    .subject-first {
        border-top: 1px solid #eeeeee;
        color: #4d004a;
        font-weight: bolder;
    }

    .subject-last {
        border-bottom: 1px solid #eeeeee;
    }
</style>
<div class="topic-btn" onclick="switchTopic()">隐藏</div>
<div class="topic">
    <div class="input-container"><input type="input" id="keyword-input" placeholder="请在此处输入关键字"/></div>
    <div class="input-submit" onclick="getValueFunc()">获取答案</div>
    <div class="input-submit" onclick="autoExam()">自动答题(测试版)</div>
    <div class="table-container"></div>
</div>
